export const customThemes = {
  // 经典专业
  classic: {
    backgroundColor: "#FFFFFF",
    lineWidth: 1.5,
    lineColor: "#595959",
    lineDasharray: "",
    lineStyle: "straight",

    root: {
      fillColor: "#FFFFFF",
      borderColor: "#595959",
      borderWidth: 2,
      borderRadius: 4,
      fontSize: 16,
      fontWeight: "600",
      color: "#262626",
      padding: [12, 24],
      marginX: 0,
      marginY: 0,
      active: {
        borderColor: "#1890FF",
        borderWidth: 2,
      },
    },

    second: {
      fillColor: "#FFFFFF",
      borderColor: "#8C8C8C",
      borderWidth: 1.5,
      borderRadius: 4,
      fontSize: 14,
      fontWeight: "500",
      color: "#262626",
      padding: [8, 16],
      marginX: 100,
      marginY: 20,
      active: {
        borderColor: "#1890FF",
        borderWidth: 2,
      },
    },

    node: {
      fillColor: "#FFFFFF",
      borderColor: "#D9D9D9",
      borderWidth: 1,
      borderRadius: 4,
      fontSize: 12,
      fontWeight: "normal",
      color: "#595959",
      padding: [6, 12],
      marginX: 80,
      marginY: 15,
      active: {
        borderColor: "#1890FF",
        borderWidth: 1.5,
      },
    },
  },

  // 企业蓝
  enterprise: {
    backgroundColor: "#FFFFFF",
    lineWidth: 1.5,
    lineColor: "#1F497D",
    lineDasharray: "",
    lineStyle: "straight",

    root: {
      fillColor: "#1F497D",
      borderColor: "#1F497D",
      borderWidth: 0,
      borderRadius: 4,
      fontSize: 16,
      fontWeight: "600",
      color: "#FFFFFF",
      padding: [12, 24],
      marginX: 0,
      marginY: 0,
      active: {
        borderColor: "#2B579A",
        borderWidth: 2,
      },
    },

    second: {
      fillColor: "#F5F9FF",
      borderColor: "#1F497D",
      borderWidth: 1,
      borderRadius: 4,
      fontSize: 14,
      fontWeight: "500",
      color: "#1F497D",
      padding: [8, 16],
      marginX: 100,
      marginY: 20,
      active: {
        borderColor: "#2B579A",
        borderWidth: 1.5,
      },
    },

    node: {
      fillColor: "#FFFFFF",
      borderColor: "#8EAADB",
      borderWidth: 1,
      borderRadius: 4,
      fontSize: 12,
      fontWeight: "normal",
      color: "#2E75B6",
      padding: [6, 12],
      marginX: 80,
      marginY: 15,
      active: {
        borderColor: "#2B579A",
        borderWidth: 1.5,
      },
    },
  },

  // 简约黑
  minimal: {
    backgroundColor: "#FFFFFF",
    lineWidth: 1,
    lineColor: "#000000",
    lineDasharray: "",
    lineStyle: "straight",

    root: {
      fillColor: "#000000",
      borderColor: "#000000",
      borderWidth: 0,
      borderRadius: 0,
      fontSize: 16,
      fontWeight: "600",
      fontFamily:
        "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
      color: "#FFFFFF",
      padding: [12, 24],
      marginX: 0,
      marginY: 0,
    },

    second: {
      fillColor: "#FFFFFF",
      borderColor: "#000000",
      borderWidth: 1,
      borderRadius: 0,
      fontSize: 14,
      fontWeight: "500",
      color: "#000000",
      padding: [8, 16],
      marginX: 100,
      marginY: 20,
    },

    node: {
      fillColor: "#FFFFFF",
      borderColor: "#000000",
      borderWidth: 1,
      borderRadius: 0,
      fontSize: 12,
      fontWeight: "normal",
      color: "#000000",
      padding: [6, 12],
      marginX: 80,
      marginY: 10,
    },
  },

  // 商务灰
  business: {
    backgroundColor: "#FFFFFF",
    lineWidth: 1.5,
    lineColor: "#404040",
    lineDasharray: "",
    lineStyle: "straight",

    root: {
      fillColor: "#404040",
      borderColor: "#404040",
      borderWidth: 0,
      borderRadius: 3,
      fontSize: 16,
      fontWeight: "600",
      color: "#FFFFFF",
      padding: [12, 24],
      marginX: 0,
      marginY: 0,
      active: {
        borderColor: "#737373",
        borderWidth: 2,
      },
    },

    second: {
      fillColor: "#F7F7F7",
      borderColor: "#404040",
      borderWidth: 1,
      borderRadius: 3,
      fontSize: 14,
      fontWeight: "500",
      color: "#404040",
      padding: [8, 16],
      marginX: 100,
      marginY: 20,
      active: {
        borderColor: "#737373",
        borderWidth: 1.5,
      },
    },

    node: {
      fillColor: "#FFFFFF",
      borderColor: "#BFBFBF",
      borderWidth: 1,
      borderRadius: 3,
      fontSize: 12,
      fontWeight: "normal",
      color: "#595959",
      padding: [6, 12],
      marginX: 80,
      marginY: 15,
      active: {
        borderColor: "#737373",
        borderWidth: 1.5,
      },
    },
  },

  // 科技白
  techWhite: {
    backgroundColor: "#FFFFFF",
    lineWidth: 1.5,
    lineColor: "#2C5282",
    lineDasharray: "",
    lineStyle: "straight",

    root: {
      fillColor: "#FFFFFF",
      borderColor: "#2C5282",
      borderWidth: 2,
      borderRadius: 4,
      fontSize: 16,
      fontWeight: "600",
      color: "#2C5282",
      padding: [12, 24],
      marginX: 0,
      marginY: 0,
      active: {
        borderColor: "#4299E1",
        borderWidth: 2,
      },
    },

    second: {
      fillColor: "#FFFFFF",
      borderColor: "#4299E1",
      borderWidth: 1.5,
      borderRadius: 4,
      fontSize: 14,
      fontWeight: "500",
      color: "#2C5282",
      padding: [8, 16],
      marginX: 100,
      marginY: 20,
      active: {
        borderColor: "#4299E1",
        borderWidth: 2,
      },
    },

    node: {
      fillColor: "#FFFFFF",
      borderColor: "#90CDF4",
      borderWidth: 1,
      borderRadius: 4,
      fontSize: 12,
      fontWeight: "normal",
      color: "#2A4365",
      padding: [6, 12],
      marginX: 80,
      marginY: 15,
      active: {
        borderColor: "#4299E1",
        borderWidth: 1.5,
      },
    },
  },

  freshGreen: {
    backgroundColor: "#f5f9f5",
    lineColor: "#43a047",
    lineWidth: 2,
    rootNode: {
      fillColor: "#43a047",
      borderColor: "#2e7d32",
      borderWidth: 2,
      fontSize: 16,
      fontColor: "#fff",
    },
    secondNode: {
      fillColor: "#81c784",
      borderColor: "#43a047",
      borderWidth: 2,
      fontSize: 14,
      fontColor: "#000",
    },
    thirdNode: {
      fillColor: "#c8e6c9",
      borderColor: "#81c784",
      borderWidth: 2,
      fontSize: 12,
      fontColor: "#000",
    },
  },
  energeticOrange: {
    backgroundColor: "#fff5f2",
    lineColor: "#f57c00",
    lineWidth: 2,
    rootNode: {
      fillColor: "#f57c00",
      borderColor: "#e65100",
      borderWidth: 2,
      fontSize: 16,
      fontColor: "#fff",
    },
    secondNode: {
      fillColor: "#ffb74d",
      borderColor: "#f57c00",
      borderWidth: 2,
      fontSize: 14,
      fontColor: "#000",
    },
    thirdNode: {
      fillColor: "#ffe0b2",
      borderColor: "#ffb74d",
      borderWidth: 2,
      fontSize: 12,
      fontColor: "#000",
    },
  },
  businessBlue: {
    backgroundColor: "#f5f9ff",
    lineColor: "#1976d2",
    lineWidth: 2,
    rootNode: {
      fillColor: "#1976d2",
      borderColor: "#1565c0",
      borderWidth: 2,
      fontSize: 16,
      fontColor: "#fff",
    },
    secondNode: {
      fillColor: "#64b5f6",
      borderColor: "#1976d2",
      borderWidth: 2,
      fontSize: 14,
      fontColor: "#000",
    },
    thirdNode: {
      fillColor: "#bbdefb",
      borderColor: "#64b5f6",
      borderWidth: 2,
      fontSize: 12,
      fontColor: "#000",
    },
  },
  techPurple: {
    backgroundColor: "#f7f5fa",
    lineColor: "#7b1fa2",
    lineWidth: 2,
    rootNode: {
      fillColor: "#7b1fa2",
      borderColor: "#6a1b9a",
      borderWidth: 2,
      fontSize: 16,
      fontColor: "#fff",
    },
    secondNode: {
      fillColor: "#ba68c8",
      borderColor: "#7b1fa2",
      borderWidth: 2,
      fontSize: 14,
      fontColor: "#000",
    },
    thirdNode: {
      fillColor: "#e1bee7",
      borderColor: "#ba68c8",
      borderWidth: 2,
      fontSize: 12,
      fontColor: "#000",
    },
  },
  elegantGold: {
    backgroundColor: "#faf8f5",
    lineColor: "#c0a060",
    lineWidth: 2,
    rootNode: {
      fillColor: "#c0a060",
      borderColor: "#b08d57",
      borderWidth: 2,
      fontSize: 16,
      fontColor: "#fff",
    },
    secondNode: {
      fillColor: "#d4bc8b",
      borderColor: "#c0a060",
      borderWidth: 2,
      fontSize: 14,
      fontColor: "#000",
    },
    thirdNode: {
      fillColor: "#e8d9b6",
      borderColor: "#d4bc8b",
      borderWidth: 2,
      fontSize: 12,
      fontColor: "#000",
    },
  },
  naturalBrown: {
    backgroundColor: "#f9f6f4",
    lineColor: "#795548",
    lineWidth: 2,
    rootNode: {
      fillColor: "#795548",
      borderColor: "#5d4037",
      borderWidth: 2,
      fontSize: 16,
      fontColor: "#fff",
    },
    secondNode: {
      fillColor: "#a1887f",
      borderColor: "#795548",
      borderWidth: 2,
      fontSize: 14,
      fontColor: "#000",
    },
    thirdNode: {
      fillColor: "#d7ccc8",
      borderColor: "#a1887f",
      borderWidth: 2,
      fontSize: 12,
      fontColor: "#000",
    },
  },
  // 现代简约主题
  modernSimple: {
    // 根节点样式
    root: {
      fillColor: "#2B579A",
      borderColor: "#2B579A",
      borderWidth: 2,
      borderRadius: 5,
      color: "#fff",
      fontSize: 18,
      fontWeight: "bold",
      fontFamily: "Arial",
      padding: [15, 25],
    },
    // 二级节点样式
    second: {
      fillColor: "#E7F1FF",
      borderColor: "#6BA5E7",
      borderWidth: 2,
      borderRadius: 5,
      color: "#2B579A",
      fontSize: 16,
      fontWeight: "500",
      padding: [10, 20],
      marginX: 50,
      marginY: 20,
    },
    // 三级及以下节点样式
    node: {
      fillColor: "#FFFFFF",
      borderColor: "#BED6F6",
      borderWidth: 1,
      borderRadius: 5,
      color: "#333333",
      fontSize: 14,
      padding: [8, 16],
      marginX: 40,
      marginY: 15,
    },
    // 连线样式
    lineWidth: 2,
    lineColor: "#6BA5E7",
    lineStyle: "curve",
    generalizationLineWidth: 2,
    generalizationLineColor: "#6BA5E7",
  },

  // 科技蓝调主题
  techBlue: {
    root: {
      fillColor: "#1890FF",
      borderColor: "#1890FF",
      borderWidth: 2,
      borderRadius: 8,
      color: "#FFFFFF",
      fontSize: 18,
      fontWeight: "bold",
      padding: [15, 25],
      boxShadow: "0 2px 8px rgba(24,144,255,0.15)",
    },
    second: {
      fillColor: "#E6F7FF",
      borderColor: "#91D5FF",
      borderWidth: 2,
      borderRadius: 6,
      color: "#1890FF",
      fontSize: 16,
      padding: [10, 20],
      marginX: 50,
      marginY: 20,
      boxShadow: "0 2px 6px rgba(24,144,255,0.08)",
    },
    node: {
      fillColor: "#FFFFFF",
      borderColor: "#D9E9FF",
      borderWidth: 1,
      borderRadius: 4,
      color: "#333333",
      fontSize: 14,
      padding: [8, 16],
      marginX: 40,
      marginY: 15,
      boxShadow: "0 1px 4px rgba(24,144,255,0.06)",
    },
    lineWidth: 2,
    lineColor: "#91D5FF",
    lineStyle: "curve",
    backgroundColor: "#FAFAFA",
  },

  // 暖色商务主题
  warmBusiness: {
    root: {
      fillColor: "linear-gradient(135deg, #FF8C37 0%, #F96B6B 100%)",
      borderColor: "#FF8C37",
      borderWidth: 0,
      borderRadius: 8,
      color: "#FFFFFF",
      fontSize: 18,
      fontWeight: "bold",
      padding: [15, 25],
      boxShadow: "0 4px 12px rgba(255,140,55,0.2)",
    },
    second: {
      fillColor: "#FFF7E6",
      borderColor: "#FFD591",
      borderWidth: 1,
      borderRadius: 6,
      color: "#FA8C16",
      fontSize: 16,
      padding: [10, 20],
      marginX: 50,
      marginY: 20,
      boxShadow: "0 2px 8px rgba(250,140,22,0.08)",
    },
    node: {
      fillColor: "#FFFFFF",
      borderColor: "#FFE7BA",
      borderWidth: 1,
      borderRadius: 4,
      color: "#333333",
      fontSize: 14,
      padding: [8, 16],
      marginX: 40,
      marginY: 15,
      boxShadow: "0 1px 4px rgba(250,140,22,0.06)",
    },
    lineWidth: 2,
    lineColor: "#FFA940",
    lineStyle: "curve",
    backgroundColor: "#FAFAFA",
  },

  // 自然绿意主题
  naturalGreen: {
    root: {
      fillColor: "linear-gradient(135deg, #52C41A 0%, #1AC49F 100%)",
      borderColor: "#52C41A",
      borderWidth: 0,
      borderRadius: 8,
      color: "#FFFFFF",
      fontSize: 18,
      fontWeight: "bold",
      padding: [15, 25],
      boxShadow: "0 4px 12px rgba(82,196,26,0.2)",
    },
    second: {
      fillColor: "#F6FFED",
      borderColor: "#B7EB8F",
      borderWidth: 1,
      borderRadius: 6,
      color: "#52C41A",
      fontSize: 16,
      padding: [10, 20],
      marginX: 50,
      marginY: 20,
      boxShadow: "0 2px 8px rgba(82,196,26,0.08)",
    },
    node: {
      fillColor: "#FFFFFF",
      borderColor: "#D9F7BE",
      borderWidth: 1,
      borderRadius: 4,
      color: "#333333",
      fontSize: 14,
      padding: [8, 16],
      marginX: 40,
      marginY: 15,
      boxShadow: "0 1px 4px rgba(82,196,26,0.06)",
    },
    lineWidth: 2,
    lineColor: "#95DE64",
    lineStyle: "curve",
    backgroundColor: "#FAFAFA",
  },

  // 深色主题
  darkPro: {
    root: {
      fillColor: "#2D3343",
      borderColor: "#1F2937",
      borderWidth: 2,
      borderRadius: 8,
      color: "#E5E7EB",
      fontSize: 18,
      fontWeight: "bold",
      padding: [15, 25],
      boxShadow: "0 4px 12px rgba(0,0,0,0.3)",
    },
    second: {
      fillColor: "#374151",
      borderColor: "#4B5563",
      borderWidth: 1,
      borderRadius: 6,
      color: "#D1D5DB",
      fontSize: 16,
      padding: [10, 20],
      marginX: 50,
      marginY: 20,
      boxShadow: "0 2px 8px rgba(0,0,0,0.2)",
    },
    node: {
      fillColor: "#1F2937",
      borderColor: "#374151",
      borderWidth: 1,
      borderRadius: 4,
      color: "#9CA3AF",
      fontSize: 14,
      padding: [8, 16],
      marginX: 40,
      marginY: 15,
      boxShadow: "0 1px 4px rgba(0,0,0,0.15)",
    },
    lineWidth: 2,
    lineColor: "#4B5563",
    lineStyle: "curve",
    backgroundColor: "#111827",
  },

  // 专业简约主题
  professional: {
    backgroundColor: "#FFFFFF",
    // 连线样式
    lineWidth: 2,
    lineColor: "#666666",
    lineDasharray: "", // 实线
    lineStyle: "straight", // 直线风格更专业

    // 根节点
    root: {
      fillColor: "#FFFFFF",
      borderColor: "#333333",
      borderWidth: 2,
      borderRadius: 5,
      fontSize: 16,
      fontWeight: "600",
      fontFamily:
        "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
      color: "#333333",
      padding: [12, 24],
      marginX: 0,
      marginY: 0,
      active: {
        borderColor: "#4A90E2",
        borderWidth: 2,
        borderStyle: "solid",
      },
    },

    // 二级节点
    second: {
      fillColor: "#FFFFFF",
      borderColor: "#666666",
      borderWidth: 1.5,
      borderRadius: 5,
      fontSize: 14,
      fontWeight: "500",
      color: "#333333",
      padding: [8, 16],
      marginX: 100,
      marginY: 20,
      active: {
        borderColor: "#4A90E2",
        borderWidth: 2,
        borderStyle: "solid",
      },
    },

    // 三级及以下节点
    node: {
      fillColor: "#FFFFFF",
      borderColor: "#999999",
      borderWidth: 1,
      borderRadius: 5,
      fontSize: 12,
      fontWeight: "normal",
      color: "#666666",
      padding: [6, 12],
      marginX: 80,
      marginY: 10,
      active: {
        borderColor: "#4A90E2",
        borderWidth: 1.5,
        borderStyle: "solid",
      },
    },
  },

  // 商务专业风格
  businessPro: {
    backgroundColor: "#FFFFFF",
    lineWidth: 1.5,
    lineColor: "#2C5282",
    lineDasharray: "",
    lineStyle: "straight",

    root: {
      fillColor: "#2C5282",
      borderColor: "#2C5282",
      borderWidth: 0,
      borderRadius: 3,
      fontSize: 16,
      fontWeight: "600",
      color: "#FFFFFF",
      padding: [12, 24],
      marginX: 0,
      marginY: 0,
      active: {
        borderColor: "#4299E1",
        borderWidth: 2,
        borderStyle: "solid",
      },
    },

    second: {
      fillColor: "#EBF8FF",
      borderColor: "#2C5282",
      borderWidth: 1,
      borderRadius: 3,
      fontSize: 14,
      fontWeight: "500",
      color: "#2C5282",
      padding: [8, 16],
      marginX: 100,
      marginY: 20,
      active: {
        borderColor: "#4299E1",
        borderWidth: 1.5,
        borderStyle: "solid",
      },
    },

    node: {
      fillColor: "#FFFFFF",
      borderColor: "#90CDF4",
      borderWidth: 1,
      borderRadius: 3,
      fontSize: 12,
      fontWeight: "normal",
      color: "#2A4365",
      padding: [6, 12],
      marginX: 80,
      marginY: 10,
      active: {
        borderColor: "#4299E1",
        borderWidth: 1.5,
        borderStyle: "solid",
      },
    },
  },

  // 商务风格
  business: {
    backgroundColor: "#FFFFFF",
    lineWidth: 1.5,
    lineColor: "#2C5282",
    lineDasharray: "",
    lineStyle: "straight",

    root: {
      fillColor: "#2C5282",
      borderColor: "#2C5282",
      borderWidth: 0,
      borderRadius: 3,
      fontSize: 16,
      fontWeight: "600",
      color: "#FFFFFF",
      padding: [12, 24],
      marginX: 0,
      marginY: 0,
      active: {
        borderColor: "#4299E1",
        borderWidth: 2,
        borderStyle: "solid",
      },
    },

    second: {
      fillColor: "#EBF8FF",
      borderColor: "#2C5282",
      borderWidth: 1,
      borderRadius: 3,
      fontSize: 14,
      fontWeight: "500",
      color: "#2C5282",
      padding: [8, 16],
      marginX: 100,
      marginY: 20,
      active: {
        borderColor: "#4299E1",
        borderWidth: 1.5,
        borderStyle: "solid",
      },
    },

    node: {
      fillColor: "#FFFFFF",
      borderColor: "#90CDF4",
      borderWidth: 1,
      borderRadius: 3,
      fontSize: 12,
      fontWeight: "normal",
      color: "#2A4365",
      padding: [6, 12],
      marginX: 80,
      marginY: 10,
      active: {
        borderColor: "#4299E1",
        borderWidth: 1.5,
        borderStyle: "solid",
      },
    },
  },

  // XMind 专业风格
  xmind: {
    backgroundColor: "#FFFFFF",
    lineWidth: 2,
    lineColor: "#555555",
    lineDasharray: "",
    lineStyle: "straight",
    generalizationLineWidth: 2,
    generalizationLineColor: "#555555",
    generalizationLineStyle: "straight",

    // 连线样式变体
    lineVariants: {
      straight: {
        lineStyle: "straight",
        lineWidth: 2,
        lineColor: "#555555",
      },
      curve: {
        lineStyle: "curve",
        lineWidth: 2,
        lineColor: "#555555",
      },
      round: {
        lineStyle: "round",
        lineWidth: 2,
        lineColor: "#555555",
      },
      dashed: {
        lineStyle: "straight",
        lineWidth: 2,
        lineColor: "#555555",
        lineDasharray: "5,5",
      },
    },

    root: {
      fillColor: "#FFFFFF",
      borderColor: "#333333",
      borderWidth: 2,
      borderRadius: 4,
      fontSize: 16,
      fontWeight: "600",
      fontFamily:
        "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
      color: "#333333",
      padding: [12, 24],
      marginX: 0,
      marginY: 0,
      boxShadow: "0 2px 5px rgba(0,0,0,0.1)",
      active: {
        borderColor: "#1890FF",
        borderWidth: 2,
        boxShadow: "0 0 0 2px rgba(24,144,255,0.2)",
      },
      // 根节点特殊样式
      summary: {
        fillColor: "#F5F5F5",
        borderStyle: "dashed",
        borderWidth: 1,
        borderRadius: 2,
      },
      // 标签样式
      tag: {
        fillColor: "#E6F7FF",
        borderColor: "#91D5FF",
        borderWidth: 1,
        borderRadius: 2,
        color: "#1890FF",
        fontSize: 12,
        padding: [2, 6],
      },
      // 备注样式
      note: {
        fillColor: "#FFFBE6",
        borderColor: "#FFE58F",
        borderWidth: 1,
        borderRadius: 2,
        color: "#D4B106",
        fontSize: 12,
        padding: [2, 6],
      },
    },

    second: {
      fillColor: "#FFFFFF",
      borderColor: "#555555",
      borderWidth: 1.5,
      borderRadius: 4,
      fontSize: 14,
      fontWeight: "500",
      color: "#333333",
      padding: [8, 16],
      marginX: 100,
      marginY: 20,
      boxShadow: "0 1px 4px rgba(0,0,0,0.1)",
      active: {
        borderColor: "#1890FF",
        borderWidth: 1.5,
        boxShadow: "0 0 0 2px rgba(24,144,255,0.2)",
      },
      // 二级节点特殊样式
      summary: {
        fillColor: "#FAFAFA",
        borderStyle: "dashed",
        borderWidth: 1,
        borderRadius: 2,
      },
      // 标签样式
      tag: {
        fillColor: "#E6F7FF",
        borderColor: "#91D5FF",
        borderWidth: 1,
        borderRadius: 2,
        color: "#1890FF",
        fontSize: 12,
        padding: [2, 6],
      },
      // 备注样式
      note: {
        fillColor: "#FFFBE6",
        borderColor: "#FFE58F",
        borderWidth: 1,
        borderRadius: 2,
        color: "#D4B106",
        fontSize: 12,
        padding: [2, 6],
      },
    },

    node: {
      fillColor: "#FFFFFF",
      borderColor: "#777777",
      borderWidth: 1,
      borderRadius: 4,
      fontSize: 12,
      fontWeight: "normal",
      color: "#333333",
      padding: [6, 12],
      marginX: 80,
      marginY: 10,
      boxShadow: "0 1px 3px rgba(0,0,0,0.1)",
      active: {
        borderColor: "#1890FF",
        borderWidth: 1,
        boxShadow: "0 0 0 2px rgba(24,144,255,0.2)",
      },
      // 普通节点特殊样式
      summary: {
        fillColor: "#FAFAFA",
        borderStyle: "dashed",
        borderWidth: 1,
        borderRadius: 2,
      },
      // 标签样式
      tag: {
        fillColor: "#E6F7FF",
        borderColor: "#91D5FF",
        borderWidth: 1,
        borderRadius: 2,
        color: "#1890FF",
        fontSize: 12,
        padding: [2, 6],
      },
      // 备注样式
      note: {
        fillColor: "#FFFBE6",
        borderColor: "#FFE58F",
        borderWidth: 1,
        borderRadius: 2,
        color: "#D4B106",
        fontSize: 12,
        padding: [2, 6],
      },
    },

    // 概要样式
    generalization: {
      borderWidth: 1,
      borderColor: "#95A5A6",
      borderStyle: "dashed",
      backgroundColor: "#F8F9FA",
      borderRadius: 4,
      color: "#606060",
      fontSize: 12,
      padding: [4, 10],
      active: {
        borderColor: "#1890FF",
        borderWidth: 1,
        boxShadow: "0 0 0 2px rgba(24,144,255,0.2)",
      },
    },

    // 关联线样式
    associativeLine: {
      lineWidth: 1,
      lineColor: "#95A5A6",
      lineStyle: "curve",
      lineDasharray: "4,4",
      active: {
        lineColor: "#1890FF",
        lineWidth: 1.5,
        lineDasharray: "",
      },
    },
  },

  // Word 文档风格
  word: {
    backgroundColor: "#FFFFFF",
    lineWidth: 1,
    lineColor: "#000000",
    lineDasharray: "",
    lineStyle: "straight",

    root: {
      fillColor: "#FFFFFF",
      borderColor: "#000000",
      borderWidth: 1,
      borderRadius: 0,
      fontSize: 16,
      fontWeight: "600",
      fontFamily: "Times New Roman, serif",
      color: "#000000",
      padding: [12, 24],
      marginX: 0,
      marginY: 0,
    },

    second: {
      fillColor: "#FFFFFF",
      borderColor: "#000000",
      borderWidth: 1,
      borderRadius: 0,
      fontSize: 14,
      fontWeight: "normal",
      color: "#000000",
      padding: [8, 16],
      marginX: 100,
      marginY: 20,
    },

    node: {
      fillColor: "#FFFFFF",
      borderColor: "#000000",
      borderWidth: 1,
      borderRadius: 0,
      fontSize: 12,
      fontWeight: "normal",
      color: "#000000",
      padding: [6, 12],
      marginX: 80,
      marginY: 10,
    },
  },

  // 知犀风格
  zhixi: {
    backgroundColor: "#FFFFFF",
    lineWidth: 2,
    lineColor: "#666666",
    lineDasharray: "",
    lineStyle: "straight",

    root: {
      fillColor: "#F0F0F0",
      borderColor: "#666666",
      borderWidth: 2,
      borderRadius: 5,
      fontSize: 16,
      fontWeight: "600",
      fontFamily:
        "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",
      color: "#333333",
      padding: [12, 24],
      marginX: 0,
      marginY: 0,
    },

    second: {
      fillColor: "#F8F8F8",
      borderColor: "#666666",
      borderWidth: 1.5,
      borderRadius: 5,
      fontSize: 14,
      fontWeight: "500",
      color: "#333333",
      padding: [8, 16],
      marginX: 100,
      marginY: 20,
    },

    node: {
      fillColor: "#FFFFFF",
      borderColor: "#666666",
      borderWidth: 1,
      borderRadius: 5,
      fontSize: 12,
      fontWeight: "normal",
      color: "#333333",
      padding: [6, 12],
      marginX: 80,
      marginY: 10,
    },
  },

  // 卡通风格
  cartoon: {
    backgroundColor: "#FFFFFF",
    lineWidth: 3,
    lineColor: "#FFB5B5",
    lineDasharray: "",
    lineStyle: "curve",

    root: {
      fillColor: "#FFE4E1",
      borderColor: "#FFB5B5",
      borderWidth: 3,
      borderRadius: 15,
      fontSize: 18,
      fontWeight: "bold",
      fontFamily: "Comic Sans MS, cursive",
      color: "#FF6B6B",
      padding: [15, 30],
      marginX: 0,
      marginY: 0,
      boxShadow: "4px 4px 0px #FFD3D3",
    },

    second: {
      fillColor: "#FFF5F5",
      borderColor: "#FFB5B5",
      borderWidth: 2,
      borderRadius: 12,
      fontSize: 16,
      fontWeight: "600",
      color: "#FF6B6B",
      padding: [10, 20],
      marginX: 100,
      marginY: 25,
      boxShadow: "3px 3px 0px #FFD3D3",
    },

    node: {
      fillColor: "#FFFFFF",
      borderColor: "#FFB5B5",
      borderWidth: 2,
      borderRadius: 10,
      fontSize: 14,
      fontWeight: "normal",
      color: "#FF6B6B",
      padding: [8, 16],
      marginX: 80,
      marginY: 20,
      boxShadow: "2px 2px 0px #FFD3D3",
    },
  },

  // 粉笔风格
  chalk: {
    backgroundColor: "#2C3E50",
    lineWidth: 2,
    lineColor: "#FFFFFF",
    lineDasharray: "5,5",
    lineStyle: "straight",

    root: {
      fillColor: "#34495E",
      borderColor: "#FFFFFF",
      borderWidth: 2,
      borderRadius: 0,
      fontSize: 18,
      fontWeight: "bold",
      fontFamily: "Chalk, cursive",
      color: "#FFFFFF",
      padding: [15, 30],
      marginX: 0,
      marginY: 0,
      textShadow: "2px 2px 4px rgba(0,0,0,0.3)",
    },

    second: {
      fillColor: "#2C3E50",
      borderColor: "#FFFFFF",
      borderWidth: 1,
      borderRadius: 0,
      fontSize: 16,
      fontWeight: "600",
      color: "#FFFFFF",
      padding: [10, 20],
      marginX: 100,
      marginY: 25,
      textShadow: "1px 1px 2px rgba(0,0,0,0.3)",
    },

    node: {
      fillColor: "#2C3E50",
      borderColor: "#FFFFFF",
      borderWidth: 1,
      borderRadius: 0,
      fontSize: 14,
      fontWeight: "normal",
      color: "#FFFFFF",
      padding: [8, 16],
      marginX: 80,
      marginY: 20,
      textShadow: "1px 1px 2px rgba(0,0,0,0.3)",
    },
  },

  // 手绘风格
  handdrawn: {
    backgroundColor: "#FDFAF6",
    lineWidth: 2,
    lineColor: "#2C3E50",
    lineDasharray: "",
    lineStyle: "curve",

    root: {
      fillColor: "#FFFFFF",
      borderColor: "#2C3E50",
      borderWidth: 2,
      borderRadius: 8,
      fontSize: 18,
      fontWeight: "bold",
      fontFamily: "Indie Flower, cursive",
      color: "#2C3E50",
      padding: [15, 30],
      marginX: 0,
      marginY: 0,
      transform: "rotate(-1deg)",
    },

    second: {
      fillColor: "#FFFFFF",
      borderColor: "#2C3E50",
      borderWidth: 1,
      borderRadius: 6,
      fontSize: 16,
      fontWeight: "600",
      color: "#2C3E50",
      padding: [10, 20],
      marginX: 100,
      marginY: 25,
      transform: "rotate(1deg)",
    },

    node: {
      fillColor: "#FFFFFF",
      borderColor: "#2C3E50",
      borderWidth: 1,
      borderRadius: 4,
      fontSize: 14,
      fontWeight: "normal",
      color: "#2C3E50",
      padding: [8, 16],
      marginX: 80,
      marginY: 20,
      transform: "rotate(-0.5deg)",
    },
  },

  // 霓虹风格
  neon: {
    backgroundColor: "#1A1A1A",
    lineWidth: 2,
    lineColor: "#00FF9C",
    lineDasharray: "",
    lineStyle: "straight",

    root: {
      fillColor: "#2D2D2D",
      borderColor: "#00FF9C",
      borderWidth: 2,
      borderRadius: 8,
      fontSize: 18,
      fontWeight: "bold",
      fontFamily: "Orbitron, sans-serif",
      color: "#00FF9C",
      padding: [15, 30],
      marginX: 0,
      marginY: 0,
      textShadow: "0 0 10px #00FF9C",
      boxShadow: "0 0 10px #00FF9C",
    },

    second: {
      fillColor: "#2D2D2D",
      borderColor: "#FF00FF",
      borderWidth: 2,
      borderRadius: 6,
      fontSize: 16,
      fontWeight: "600",
      color: "#FF00FF",
      padding: [10, 20],
      marginX: 100,
      marginY: 25,
      textShadow: "0 0 8px #FF00FF",
      boxShadow: "0 0 8px #FF00FF",
    },

    node: {
      fillColor: "#2D2D2D",
      borderColor: "#00FFFF",
      borderWidth: 1,
      borderRadius: 4,
      fontSize: 14,
      fontWeight: "normal",
      color: "#00FFFF",
      padding: [8, 16],
      marginX: 80,
      marginY: 20,
      textShadow: "0 0 6px #00FFFF",
      boxShadow: "0 0 6px #00FFFF",
    },
  },

  // 水彩风格
  watercolor: {
    backgroundColor: "#FFFFFF",
    lineWidth: 2,
    lineColor: "#88A0A8",
    lineDasharray: "",
    lineStyle: "curve",

    root: {
      fillColor: "#E8F4F7",
      borderColor: "#88A0A8",
      borderWidth: 2,
      borderRadius: 12,
      fontSize: 18,
      fontWeight: "bold",
      fontFamily: "Waterfall, cursive",
      color: "#456268",
      padding: [15, 30],
      marginX: 0,
      marginY: 0,
      opacity: 0.9,
    },

    second: {
      fillColor: "#F0F7F9",
      borderColor: "#88A0A8",
      borderWidth: 1,
      borderRadius: 10,
      fontSize: 16,
      fontWeight: "600",
      color: "#456268",
      padding: [10, 20],
      marginX: 100,
      marginY: 25,
      opacity: 0.85,
    },

    node: {
      fillColor: "#F7FBFC",
      borderColor: "#88A0A8",
      borderWidth: 1,
      borderRadius: 8,
      fontSize: 14,
      fontWeight: "normal",
      color: "#456268",
      padding: [8, 16],
      marginX: 80,
      marginY: 20,
      opacity: 0.8,
    },
  },
};
